package com.bcpapp.project.service;

import com.bcpapp.project.model.dto.post.PostBuyTicketRequest;
import com.bcpapp.project.model.dto.post.PostWicketRequest;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;

public interface TicketService {

    public void postBuyTicketService(PostBuyTicketRequest postBuyTicketRequest) throws NoSuchPaddingException, NoSuchAlgorithmException, IOException, BadPaddingException, IllegalBlockSizeException, NoSuchProviderException, InvalidKeyException;

    public void postCheckTicketService(PostWicketRequest postWicketRequest) throws NoSuchPaddingException, NoSuchAlgorithmException, IOException, BadPaddingException, IllegalBlockSizeException, NoSuchProviderException, InvalidKeyException;

}
